// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** fetchOverview GET /dashboard/overview */
export async function fetchOverviewUsingGet(options?: { [key: string]: any }) {
  return request<API.TradeResult>('/dashboard/overview', {
    method: 'GET',
    ...(options || {}),
  });
}

/** fetchStatistics GET /dashboard/statistics */
export async function fetchStatisticsUsingGet(options?: { [key: string]: any }) {
  return request<API.TradeResult>('/dashboard/statistics', {
    method: 'GET',
    ...(options || {}),
  });
}
